package com.naiterui.ehp.bs.patient.vo.im;

public class ImgMessage extends Message {

    private ImgContent content;

    public ImgMessage(int lastPlatform, String sessionId, Long fromId, Long toId, String contPath) {
        super(lastPlatform, sessionId, fromId, toId, Message.MESSAGE_TYPE_IMG);
        this.content = new ImgContent(contPath);
    }

    public ImgContent getContent() {
        return this.content;
    }

    public void setContent(ImgContent content) {
        this.content = content;
    }

    static class ImgContent {

        private String path;

        ImgContent(String path) {
            this.path = path;
        }

        public String getPath() {
            return this.path;
        }

        public void setPath(String path) {
            this.path = path;
        }

    }

}
